<?php

require dirname(__FILE__).'/../../../bootstrap/Doctrine.php';

$t = new lime_test(2);

$t->diag('->setSourceContent()');

$comment = new BlogComment();
$comment->setSourceContent('   foo  ');

$t->is($comment->getSourceContent(), 'foo', '->getSourceComment() returns "foo"');
$t->is($comment->getCachedContent(), 'foo', '->getSourceComment() sets the cached content');